package com.leenmvc.core.security.entity.core;

import com.leenmvc.core.annotation.DbInfo;
import com.leenmvc.core.annotation.PrimaryKey;
import com.leenmvc.core.base.BaseEntity;
import com.leenmvc.core.security.entity.export.LogLoginExcel;

import java.util.Date;

/**
 * 登录日志
 *
 * @author Mark sunlightcs@gmail.com
 * @since 1.0.0 2019-12-24
 */
@DbInfo(value = "sys_log_login", excelEntity = LogLoginExcel.class, comment = "登录日志")
public class SysLogLogin extends BaseEntity {

    @PrimaryKey
    private Long id;
    /**
     *
     */
	private Integer operation;
    /**
     *
     */
	private Integer status;

    /**
     * 本次登录的token
     *
     */
	private String token;
    /**
     *
     */
	private String userAgent;
    /**
     *
     */
	private String ip;
    /**
     *
     */
	private String creatorName;

	private Date createDate;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Integer getOperation() {
        return operation;
    }

    public void setOperation(Integer operation) {
        this.operation = operation;
    }

    public Integer getStatus() {
        return status;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public String getUserAgent() {
        return userAgent;
    }

    public void setUserAgent(String userAgent) {
        this.userAgent = userAgent;
    }

    public String getIp() {
        return ip;
    }

    public void setIp(String ip) {
        this.ip = ip;
    }

    public String getCreatorName() {
        return creatorName;
    }

    public void setCreatorName(String creatorName) {
        this.creatorName = creatorName;
    }

    public Date getCreateDate() {
        return createDate;
    }

    public void setCreateDate(Date createDate) {
        this.createDate = createDate;
    }
}
